package com.example.whatrubbish.service;

import com.example.whatrubbish.model.SearchRecord;
import com.example.whatrubbish.vo.Criteria;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface SearchRecordService {
    int insertSelective(HttpServletRequest request, SearchRecord record);

    List selectSearchRecord(Criteria criteria);

    Long selectSearchRecordCount(Criteria criteria);

    List selectRecordWithPercent();

    List<Map<String, Object>> selectFiveDaysRecordCount();
}
